export const increase = () => {
    return {
        type: 'INCREASE',
    }
}

export const decrease = () => {
    return {
        type: 'DECREASE'
    }
}

export const rage = () => {
    return {
        type: 'RAGE'
    }
}

export const toOne= () => {
    return {
        type: 'TOONE'
    }
}

/* export const getListData=(data)=>{
    return{
        type:'GETLISTDATA',
        payload:data
    }
}

export const fetchList = () => {
    return dispatch => {
        const url = ' http://localhost:3000/people';
        Axios({
            url: url,
            method: 'get'
        }).then(res => {
            dispatch(getListData(res.data));
        })
    }
} */